package com.neuedu.yyzx.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 退住
 *
 * @TableName backdown
 */
@TableName(value = "backdown")
@Data
public class Backdown implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * remarks
     */
    @TableField(value = "remarks")
    private String remarks;

    /**
     * 逻辑删除标记（0：显示；1：隐藏）
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    /**
     * 客户ID
     */
    @TableField(value = "customer_id")
    private Integer customerId;

    /**
     * 退住时间
     */
    @TableField(value = "retreattime")
    private Date retreattime;

    /**
     * 退住类型 0-正常退住  1-死亡退住 2-保留床位
     */
    @TableField(value = "retreattype")
    private Integer retreattype;

    /**
     * retreatreason
     */
    @TableField(value = "retreatreason")
    private String retreatreason;

    /**
     * 审批状态  0-已提交 1-同意  2-拒绝
     */
    @TableField(value = "auditstatus")
    private Integer auditstatus;

    /**
     * auditperson
     */
    @TableField(value = "auditperson")
    private String auditperson;

    /**
     * 审批时间
     */
    @TableField(value = "audittime")
    private Date audittime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}